﻿using Spring.Context;

namespace FluentSpring
{
    public static class Extension
    {
        public static T GetObject<T>(this IApplicationContext ctx)
        {
            return (T) ctx.GetObject(typeof(T).FullName) ;
        }
    }
}
